package com.shengxing.lljl.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 网址Cookies设置
 * </p>
 *
 * @author 小邹
 * @since 2024-10-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_url_set_cookies")
public class UrlSetCookies implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * Cookies序列号
     */
    @TableId(value = "serial_id", type = IdType.AUTO)
    private Long serialId;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;

    /**
     * 网址id
     */
    private Long urlId;

    /**
     * cookies值
     */
    private String cookiesValue;

    /**
     * 分配比例
     */
    private Integer allocationRatio;


}
